summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx
index d61b50df..64f0b4d8 100644
--- a/app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(master-data)/items/page.tsx
@@ -10,11 +10,17 @@ import { getItems } from "@/lib/items/service"
import { ItemsTable } from "@/lib/items/table/items-table"
import { ViewModeToggle } from "@/components/data-table/view-mode-toggle"
import { InformationButton } from "@/components/information/information-button"
+import { useTranslation } from "@/i18n"
+
interface IndexPageProps {
+ params: Promise<{ lng: string }>
searchParams: Promise<SearchParams>
}
export default async function IndexPage(props: IndexPageProps) {
+ const { lng } = await props.params
+ const { t } = await useTranslation(lng, 'menu')
+
const searchParams = await props.searchParams
const search = searchParamsCache.parse(searchParams)
@@ -36,7 +42,7 @@ export default async function IndexPage(props: IndexPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 패키지 넘버
+ {t('menu.master_data.package_numbers')}
</h2>
<InformationButton pagePath="evcp/items" />
</div>